<?php
/**
 * Created by PhpStorm.
 * User: admin
 * Date: 2016/9/20
 * Time: 18:45
 * 数组转成json
 */
require('env.php');
include_once 'functions.php';
$json = "";
switch(LANG){
    case 'TW':
        $json = getCity(LANG);
        break;
    case 'HK':
        $json = getCity(LANG);
        break;
    case 'CN':
        $json = getCity(LANG);
        break;
    case 'US':
        $json = getCity(LANG);
        break;
}


exit($json);
